package com.eshop.modules.system.domain.vo;

import java.io.Serializable;

public class MenuMetaVo implements Serializable
{
    private String title;
    private String icon;
    private Boolean noCache;
    
    public String getTitle() {
        return this.title;
    }
    
    public String getIcon() {
        return this.icon;
    }
    
    public Boolean getNoCache() {
        return this.noCache;
    }
    
    public void setTitle(final String title) {
        this.title = title;
    }
    
    public void setIcon(final String icon) {
        this.icon = icon;
    }
    
    public void setNoCache(final Boolean noCache) {
        this.noCache = noCache;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof MenuMetaVo)) {
            return false;
        }
        final MenuMetaVo other = (MenuMetaVo)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$noCache = this.getNoCache();
        final Object other$noCache = other.getNoCache();
        Label_0065: {
            if (this$noCache == null) {
                if (other$noCache == null) {
                    break Label_0065;
                }
            }
            else if (this$noCache.equals(other$noCache)) {
                break Label_0065;
            }
            return false;
        }
        final Object this$title = this.getTitle();
        final Object other$title = other.getTitle();
        Label_0102: {
            if (this$title == null) {
                if (other$title == null) {
                    break Label_0102;
                }
            }
            else if (this$title.equals(other$title)) {
                break Label_0102;
            }
            return false;
        }
        final Object this$icon = this.getIcon();
        final Object other$icon = other.getIcon();
        if (this$icon == null) {
            if (other$icon == null) {
                return true;
            }
        }
        else if (this$icon.equals(other$icon)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof MenuMetaVo;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $noCache = this.getNoCache();
        result = result * 59 + (($noCache == null) ? 43 : $noCache.hashCode());
        final Object $title = this.getTitle();
        result = result * 59 + (($title == null) ? 43 : $title.hashCode());
        final Object $icon = this.getIcon();
        result = result * 59 + (($icon == null) ? 43 : $icon.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "MenuMetaVo(title=" + this.getTitle() + ", icon=" + this.getIcon() + ", noCache=" + this.getNoCache() + ")";
    }
    
    public MenuMetaVo(final String title, final String icon, final Boolean noCache) {
        this.title = title;
        this.icon = icon;
        this.noCache = noCache;
    }
}
